package com.course.mapper;

import com.api.entity.Course;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/*
    @ClassName CourseMapper
    @Description TODO
    @Date 2021/9/2、15:17
*/
@Mapper
@Repository
public interface CourseMapper extends BaseMapper<Course> {

    List<Course> getAllCourse();

    List<Course> getCourseByPurchase(List<Integer> ids);


}
